package xyz.fuqufyb.aec.controller;import com.spingcloud.travel.common.JsonResult;import com.spingcloud.travel.common.TableResult;import com.springcloud.travel.entity.Hotel;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RequestParam;import org.springframework.web.bind.annotation.RestController;import xyz.fuqufyb.aec.feign.hotel.HotelFeign;import javax.annotation.Resource;import java.util.Map;/** * @author : Two * @version : v1.0 * @description TODO * @date : 2021/3/23 21:39 */@RestController@RequestMapping("/hotel")public class HotelController {    @Resource    private HotelFeign hotelFeign;    //获取酒店预订列表    @GetMapping("/get")    public TableResult<Hotel> getAll(@RequestParam Map<String, String> map){        return hotelFeign.getHotel(map);    }}